//
//  MyClass.m
//  Sample
//
//  Created by David M. Freckleton on 4/9/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import "Balloon.h"


@implementation Balloon

- (id)initWithString:(NSString *) aName
{
	self = [super init];
	if (self) {
		[self inflate:0];
		data = nil;
		name = [aName copy];
	}
	return self;
}

- (void)inflate: (int) value
{
	volume += value;
}

+ (Balloon *)createMyClassWithString: (NSString *) aName
{
	return [[[self alloc] initWithString:aName] autorelease];
}

@end
